package org.skatiger.jrove.component;

public interface JroveAttr {
    String HEADER_FACET_NAME = "header";
    String FOOTER_FACET_NAME = "footer";
    String HEADER_CLASS_NAME = "header";
    String FOOTER_CLASS_NAME = "footer";
    String VAR_ATTR="var";
    //foreach
    String FOREACH_ITERATOR_PROPERTY_NAME = "foreachStatusIterator";
    String FOREACH_VAR_NAME = "var";
    String FOREACH_VAR_STATUS_NAME = "varStatus";
    //dataTable
    String TRANZIENT_ATTR = "tranzient";

    String CAPTION_FACET_NAME = "caption";
    String ROW_CLASSES_NAME = "rowClasses";

    String CLIENTID_ATTR = "clientId";
    String STYLE_CLASS_ATTR = "styleClass"; // "class" cannot be used as property name
    String ALIGN_ATTR = "align";
    String BORDER_ATTR = "border";
    String WIDTH_ATTR = "width";
    String READONLY_ATTR = "readonly";
    String FILE_ATTR = "file";
    String ACCEPT_ATTR = "accept";

    // Common event handler attributes
    String ONCLICK_ATTR = "onclick";
    String ONDBLCLICK_ATTR = "ondblclick";
    String ONMOUSEDOWN_ATTR = "onmousedown";
    String ONMOUSEUP_ATTR = "onmouseup";
    String ONMOUSEOVER_ATTR = "onmouseover";
    String ONMOUSEMOVE_ATTR = "onmousemove";
    String ONMOUSEOUT_ATTR = "onmouseout";
    String ONKEYPRESS_ATTR = "onkeypress";
    String ONKEYDOWN_ATTR = "onkeydown";
    String ONKEYUP_ATTR = "onkeyup";
    String ONFOCUS_ATTR = "onfocus";
    String ONBLUR_ATTR = "onblur";
    // Input field event handler attributes
    String ONSELECT_ATTR = "onselect";
    String ONCHANGE_ATTR = "onchange";

    // universal attributes
    String DIR_ATTR = "dir";
    String LANG_ATTR = "lang";
    String STYLE_ATTR = "style";
    String TITLE_ATTR = "title";
    // common form field attributes
    String ACCESSKEY_ATTR = "accesskey";
    String TABINDEX_ATTR = "tabindex";
    String DISABLED_ATTR = "disabled";

    // <a>
    String TARGET_ATTR = "target"; // used by <a> and <form>
    String CHARSET_ATTR = "charset";
    String COORDS_ATTR = "coords";
    String HREF_ATTR = "href";
    String HREFLANG_ATTR = "hreflang";
    String REL_ATTR = "rel";
    String REV_ATTR = "rev";
    String SHAPE_ATTR = "shape";
    String TYPE_ATTR = "type";

    // <form>
    String ACCEPT_CHARSET_ATTR = "accept-charset";
    String ENCTYPE_ATTR = "enctype";
    String ONRESET_ATTR = "onreset";
    String ONSUBMIT_ATTR = "onsubmit";
    String FORM_METHOD_GET = "get";
    String FORM_METHOD_POST = "post";
    String FORM_METHOD_PUT = "put";
    String FORM_METHOD_DELETE = "delete";
    // <img>
    String SRC_ATTR = "src";
    String ALT_ATTR = "alt";
    String HEIGHT_ATTR = "height";
    String HSPACE_ATTR = "hspace";
    String ISMAP_ATTR = "ismap";
    String LONGDESC_ATTR = "longdesc";
    String USEMAP_ATTR = "usemap";
    String VSPACE_ATTR = "vspace";
    String ONABORT_ATTR = "onabort";

    // <input>
    String SIZE_ATTR = "size";
    String AUTOCOMPLETE_ATTR = "autocomplete";
    String CHECKED_ATTR = "checked";
    String MAXLENGTH_ATTR = "maxlength";

    // values for input-type attribute
    String INPUT_TYPE_SUBMIT = "submit";
    String INPUT_TYPE_IMAGE = "image";
    String INPUT_TYPE_HIDDEN = "hidden";
    String INPUT_TYPE_CHECKBOX = "checkbox";
    String INPUT_TYPE_PASSWORD = "password";
    String INPUT_TYPE_TEXT = "text";
    String INPUT_TYPE_RADIO = "radio";
    String INPUT_TYPE_BUTTON = "button";

    // <iframe>
    String FRAMEBORDER_ATTR = "frameborder";
    String SCROLLING_ATTR = "scrolling";

    // <label>
    String FOR_ATTR = "for";

    // <select>
    String MULTIPLE_ATTR = "multiple";

    // <table>
    String BGCOLOR_ATTR = "bgcolor";
    String CELLPADDING_ATTR = "cellpadding";
    String CELLSPACING_ATTR = "cellspacing";
    String FRAME_ATTR = "frame";
    String RULES_ATTR = "rules";
    String SUMMARY_ATTR = "summary";

    // <textarea>
    String COLS_ATTR = "cols";
    String ROWS_ATTR = "rows";
    String WRAP_ATTR = "wrap";

    // body
    String BODY_ELEM = "body";
    String BODY_TARGET = BODY_ELEM;

    String ONLOAD_ATTR = "onload";
    String ONUNLOAD_ATTR = "onload";
    String ALINK_ATTR = "alink";
    String VLINK_ATTR = "vlink";
    String LINK_ATTR = "link";
    String TEXT_ATTR = "text";
    String BACKGROUND_ATTR = "background";
    // HTML attributes needed for renderding only
    String ID_ATTR = "id";
    String NAME_ATTR = "name";
    String VALUE_ATTR = "value";
    String METHOD_ATTR = "method";
    String ACTION_ATTR = "action";
    String COLSPAN_ATTR = "colspan";
    String SCOPE_ATTR = "scope";
    String LABEL_ATTR = "label";
    String SELECTED_ATTR = "selected";
    // area attributes
    String NOHREF_ATTR = "nohref";
    //col attributes
    String CHAR_ATTR = "char";
    String CHAROFF_ATTR = "charoff";
    String SPAN_ATTR = "span";
    String VALIGN_ATTR = "valign";
    //iframe attributes 
    String MARGINHEIGHT_ATTR = "marginheight";
    String MARGINWIDTH_ATTR = "marginwidth";
    // HTML attributes values
    String SCOPE_COLGROUP_VALUE = "colgroup";
    String SCOPE_ROW_VALUE = "row";
}
